package test.prototype;

import dk.au.cs.peterbn.annotations.Member;
import dk.au.cs.peterbn.annotations.Pattern;

/**
 * Created by IntelliJ IDEA.
 * User: peter
 * Date: 10/26/11
 * Time: 5:05 PM
 * To change this template use File | Settings | File Templates.
 */
@Pattern(id = "test.prototype", name = "gof:Prototype", role = "Client")
public class Client {

    @Member(id = "test.prototype", role = "Operation")
    public void operation() {
        Prototype prototype = new PrototypeImpl();
        prototype = prototype.clone();
    }
}
